package ink.carnation.imtalk.model.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author 桂乙侨
 * @Date 2020/9/23 16:12
 * @Version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "tb_group_chat")
@Deprecated
public class GroupChatMessagePo implements Serializable {
    private Integer id;
 /*   CREATE TABLE `tb_group_chat` (
            `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `group_id` int(11) NOT NULL,
  `create_date` date NOT NULL,
    PRIMARY KEY (`id`),
    KEY `tb_group_chat_friend_id` (`user_id`),
    KEY `create_date` (`create_date`),
    CONSTRAINT `tb_group_chat_group_id` FOREIGN KEY (`user_id`) REFERENCES `tb_group` (`id`),
    CONSTRAINT `tb_group_chat_user_id` FOREIGN KEY (`user_id`) REFERENCES `tb_user` (`id`)
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;*/
}
